package com.jyy.prefabricated.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyy.prefabricated.entity.Student;
import com.jyy.prefabricated.enums.BaseTeamEnum;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class ExamApplyDto {

    private Integer id;

    private Integer trainingOrganizationId;

    private String trainingOrganizationName;

    private Integer examId;

    private Integer status;

    private List<Integer> studentIds = new ArrayList<>();

    private String trainingRecords;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}